import request from '@/utils/request'


export function getPolicyList(requestObj) {
  const type = 1
  return request({
    url: '/visitor/declareWebsite/queryAnnunciatePolicyInfoList',
    method: 'get',
    headers: {
      isToken: false,
    },

    params: {
      type,
      ...requestObj
    }
  })
}


export function getPolicyDetail(id) {
  const type = 1
  return request({
    url: '/visitor/declareWebsite/getInfoById',
    method: 'get',
    headers: {
      isToken: false,
    },

    params: {
      type,
      annunciatePolicyId: id
    }
  })
}